package cn.iocoder.yudao.module.moa.controller.admin.ccapply.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 出差申请分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CcApplyPageReqVO extends PageParam {

    @Schema(description = "项目编号", example = "21779")
    private String projectId;

    @Schema(description = "线索编号", example = "12945")
    private Long clueId;

    @Schema(description = "商机编号", example = "29770")
    private Long businessId;

    @Schema(description = "申请人编号", example = "11744")
    private Long ownerUserId;

    @Schema(description = "工作流编号", example = "16720")
    private String processInstanceId;

    @Schema(description = "审批状态", example = "2")
    private Integer auditStatus;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] endTime;

    @Schema(description = "出差总结")
    private String cczj;

    @Schema(description = "出差说明")
    private String ccsm;

    @Schema(description = "出发地")
    private String cfd;

    @Schema(description = "到达地")
    private String ddd;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}